home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / misc / memtest8.000 / memtest8 / memtest86 / mtest.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-29  |  1002 b   |  22 lines

  1. /* mtest.h - MemTest-86 defines */
  2.  
  3. /* Copyright 1995,  Chris Brady
  4.  *
  5.  * Permission to use, copy, modify, and distribute this
  6.  * software and its documentation for any purpose and without fee
  7.  * is granted provided that the above copyright notice appears in all copies.
  8.  * It is provided "as is" without express or implied warranty.
  9.  */ 
  10.  
  11. #define SETUPSECS    1        /* Number of setup sectors */
  12. #define BOOTSEG        0x07c0        /* Segment adrs for inital boot */
  13. #define INITSEG        0x9000        /* Segment adrs for relocated boot */
  14. #define SETUPSEG    INITSEG+0x20    /* Segment adrs for relocated setup */
  15. #define TSTLOAD        0x1000        /* Segment adrs for load of test */
  16. #define TESTADR        0x0100        /* Final adrs for the test code */
  17. #define TESTSEG        TESTADR/0x10    /* Final segment adrs for test code */
  18. #define TSTSIZE        0x2000        /* Size of the test code */
  19. #define KERNEL_CS    0x10        /* 32 bit segment adrs for code */
  20. #define KERNEL_DS    0x18        /* 32 bit segment adrs for data */
  21. #define START_ADR    0x0e00        /* Starting adrs for testing */
  22.